package com.googlecode.monitoring.webpages.model;

/**
 * Author: Sergiy Doroshenko
 * Date: Aug 30, 2010
 * Time: 3:32:43 PM
 */
public class WebPage {
    private String url;
    private String textToFind;

    public WebPage() {
    }

    public WebPage(String url, String textToFind) {
        this.url = url;
        this.textToFind = textToFind;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTextToFind() {
        return textToFind;
    }

    public void setTextToFind(String textToFind) {
        this.textToFind = textToFind;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("WebPage");
        sb.append("{url='").append(url).append('\'');
        sb.append(", textToFind='").append(textToFind).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
